package com.ruoyi.common.core.domain.model;

import com.ruoyi.common.annotation.Excel;

import java.util.List;
import java.util.Map;

/**
 * 产品详情
 *
 * @author admin
 * @date 2023/07/24
 */
public class ProductDetail {

    private Long id;
    private String name; // 产品名称
    private String mainImg; // 主图
    private String listImg; // 轮播图
    private String video; // 产品视频
    private String remark; // 备注(概述)
    private String content; // 内容(详情)
    private Long type; // 所属产品类型
    private Long industry; // 所属行业解决方案
    @Excel(name = "产品状态" , readConverterExp = "0=未发布,1=已发布,2=已下架")
    private String status; // 暂时不用 默认值1
    private String spec;
    private int sort; // 排序
    @Excel(name = "是否在首页显示" , readConverterExp = "0=不显示,1=显示")
    private String ifIndex;
    /**
     * 'machine_filling',
     *     'machine_packaging',
     *     'machine_labeling',
     *     'machine_pricing',
     *     'machine_capping',
     */
    private String typeDictType;

    private Map<String, String> specData;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMainImg() {
        return mainImg;
    }

    public void setMainImg(String mainImg) {
        this.mainImg = mainImg;
    }

    public String getListImg() {
        return listImg;
    }

    public void setListImg(String listImg) {
        this.listImg = listImg;
    }

    public String getVideo() {
        return video;
    }

    public void setVideo(String video) {
        this.video = video;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getType() {
        return type;
    }

    public void setType(Long type) {
        this.type = type;
    }

    public Long getIndustry() {
        return industry;
    }

    public void setIndustry(Long industry) {
        this.industry = industry;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public String getIfIndex() {
        return ifIndex;
    }

    public void setIfIndex(String ifIndex) {
        this.ifIndex = ifIndex;
    }

    public String getTypeDictType() {
        return typeDictType;
    }

    public void setTypeDictType(String typeDictType) {
        this.typeDictType = typeDictType;
    }

    public Map<String, String> getSpecData() {
        return specData;
    }

    public void setSpecData(Map<String, String> specData) {
        this.specData = specData;
    }
}
